// Fonts
@import url("https://fonts.googleapis.com/css?family=Maven+Pro:400,700");

// Variables
@import "variables";

// Bootstrap
@import "~bootstrap/scss/bootstrap";

html,
body {
  color: var(--secondary);
  overflow-x: hidden;
}

body {
  padding-top: 56px;
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--red);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem); /* Account for horizontal padding on navbar */
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow: hidden;
  border-bottom: 1px solid #ddd;
}

.nav-scroller .nav {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.navbar-form {
  border-top: 7px solid var(--red);
  border-bottom: 0;
}

form .row {
  margin-bottom: 15px;
}

form .form-section {
  border-top: 1px solid #e3eaf1;
  margin-top: 30px;
  padding-top: 30px;
}

.form-control {
  margin-top: 16px;
}

@media (min-width: 576px) {
  .form-control {
    margin-top: inherit;
  }
}

.mw-60 {
  max-width: 60% !important;
}

.box-shadow-nav { 
  box-shadow: 0 0.45rem 9rem 0px rgba(0, 0, 0, 0.05);
}

.box-shadow-table {
  box-shadow: 0 2px 3px rgba(0,0,0,.16);
}

.page-header {
  background-color: #f9f9f9;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

a.text-primary:focus,
a.text-primary:hover {
  color: #d71149 !important;
}

.nav-pills {
  min-height: 29px;
}

.nav-pills .nav-link {
  color: #424C55;
  border-radius: 0rem;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #424C55;
  font-weight: bold;
  background-color: transparent;
  border-bottom: 2px solid #d71149;
}

.nav-pills .nav-link:focus,
.nav-pills .nav-link:hover {
  background-color: transparent;
  border-bottom: 2px solid #d71149;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #424c55;
  text-decoration: none;
  background-color: #f9f9f9;
}

.card {
  box-shadow: 0 2px 3px rgba(0,0,0,.16);
  border: 1px solid transparent;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  color: #333;
  background-color: #fff;
  border-bottom: 0;
}

.card-body {
  background-color: #f9f9f9;
}


a {
  color: #d71149;
}

a:hover {
  color: #d71149;
  text-decoration: underline;
}

.tbr-0 {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.page-link:focus,
.page-link:hover {
  color: #d71149;
  background-color: #e9ecef;
  border-color: #e9ecef;
}

.page-item.active .page-link {
  color: #d71149;
  background-color: #e9ecef;
  border-color: #e9ecef;
}

.page-item.disabled .page-link {
  color: #e9ecef;
  background-color: #fff;
  border-color: #f5f8fa;
}

.page-link {
  color: #868e96;
  background-color: #fff;
  border: 1px solid #f5f8fa;
}

.list-group-item {
  border: 1px solid #f2f2f2;
}

.list-group-item.active {
  z-index: 2;
  color: #d71149;
  font-weight: bold;
  background-color: #f8f9fa;
  border-color: #f2f2f2;
}

.table-rq,
.table-rq > th,
.table-rq > td {
  background-color: #fdfdfe;
}

.table-hover .table-rq:hover {
  background-color: #fff; 
}

.table-hover .table-rq:hover > td,
.table-hover .table-rq:hover > th {
  background-color: #fff;
}

.table .thead-rq th {
  color: #495057;
  background-color: #f2f2f2;
  border-color: #f2f2f2;
}

.search-input {
  color: #f5f3f3e3;
  background-color: #cc4647;
  border: 0px;
  width: 20rem;
  border-radius: 0.25rem;
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  background-image: none;
  background-clip: padding-box;
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
}

.search-input:focus {
  color: #f5f3f3e3;
  background-color: #cc4647;
  border-color: #cc4647;
  outline: none;
  width: 20rem;
  -webkit-box-shadow: 0 0 0 0rem rgba(255, 0, 0, 0.25);
          box-shadow: 0 0 0 0rem rgba(255, 0, 0, 0.25);
}

.search-input::placeholder {
  color: #f8f9fa;
  opacity: 1;
}

.btn-search {
  color: #f8f9fa;
  background-color: #cc4647;
  border-color: #cc4647;
}

.dropdown-search {
  width: 22.5rem;
}